function dbpage(props) {
    console.log(props);
    return(
        <div>
            <h3>First ID : {props.f}</h3>
            <h3>Second ID : {props.s}</h3>
        </div>
    )
}

export async function getStaticPaths(context){
    return{
        paths:[
            {params:{ firstId:"111", secId:"222"}},
            {params:{ firstId:"333", secId:"444"}}
        ],
        fallback: false
    }
}

export async function getStaticProps(context) {
    const { params }=context
    const f = params.firstId
    const s = params.secId
    return{
        props:{
            f,
            s
        }
    }
}

export default dbpage